From: Jasper St. Pierre Date: Thu, 14 Feb 2013 22:33:48 +0000 (-0500) Subject: popupMenu: Fix bubbling in the slider widget X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4069 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cc64091f9c54d87de311cbc246a368afaf73cc42;p=gnome-shell.git popupMenu: Fix bubbling in the slider widget https://bugzilla.gnome.org/show_bug.cgi?id=701755 --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index fbe1e7e41..a70b56f2c 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -621,7 +621,7 @@ const PopupSliderMenuItem = new Lang.Class({ _startDragging: function(actor, event) { if (this._dragging) // don't allow two drags at the same time - return; + return false; this._dragging = true; @@ -634,6 +634,8 @@ const PopupSliderMenuItem = new Lang.Class({ let absX, absY; [absX, absY] = event.get_coords(); this._moveHandle(absX, absY); + + return true; }, _endDragging: function() {